﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpenMinded.Model
{
    /// <summary>
    /// 部门信息类
    /// </summary>
    [Serializable]
    public class Department
    {
        public Department()
        { }
        public Department(int _deptId, string _deptName, string _deptDesc)
        {
            this.DeptId = _deptId;
            this.DeptName = _deptName;
            this.DeptDesc = _deptDesc;
        }
        #region Model
        private int _deptid;
        private string _deptname;
        private string _deptdesc;
        /// <summary>
        /// 部门编号
        /// </summary>
        public int DeptId
        {
            set { _deptid = value; }
            get { return _deptid; }
        }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName
        {
            set { _deptname = value; }
            get { return _deptname; }
        }
        /// <summary>
        /// 描述信息
        /// </summary>
        public string DeptDesc
        {
            set { _deptdesc = value; }
            get { return _deptdesc; }
        }
        #endregion Model

    }
}
